let str = `<transition name="el-fade-in">
	<div v-show="show" class="transition-box">.el-fade-in</div>
</transition>`;
//console.log(str.replace(/</gi, "&lt;").replace(/>/gi, "&gt;").replace(/"/gi, "&quot;").replace(/\n/gi, '').replace(/ [2, ]/gi, ' '));
console.log(str.replace(/</gi, "&lt;").replace(/>/gi, "&gt;").replace(/"/gi, "&quot;").replace(/\n/gi, "&#xa;"));
